package com.msmall.community.dpt.service;

import com.msmall.base.service.BaseManager;
import com.msmall.community.dpt.model.Segment;

public interface SegmentManager extends BaseManager<Segment, Long> {

	/**
	 * 创建新的次要栏目
	 * @param userid creator
	 * @return
	 */
	public Segment saveSegment(Segment segment,Long userid) throws Exception;
	
	/**
	 * 刷新所有数据到缓存
	 */
	public void refresh() throws Exception;
}
